package cn.wh.annotation;

import java.lang.annotation.*;

/**
 * @Author wanghao
 * @Date 2022/5/1 14:47
 * @Description:
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DataScope {

    /**
     * 部门表的别名
     */
    public String deptAlias() default "";

    /**
     * 部门字段名
     */
    String deptField() default "dept_id";
}
